package deployr.client.api;

import java.io.*;

public interface DeployrApi {

	void check(String projectKey);

	String checksum(String projectKey);

	void cloning(String projectKey, String updateKey, String what);

	void closeUpdate(String projectKey, String updateKey);

	void closeUpgrade(String app1, String app1update);

	void deployingNewVersion(String projectKey, String updateKey);

	String index(String projectKey);

	void initiatingUpdate(String projectKey, String updateKey);

	void initiatingUpgrade(String app1, String app1update);

	String startUpdate(String projectKey);

	String startUpgrade(String app1, String awsAccessKey, String awsSecretKey);

	void success(String projectKey, String updateKey);

	void updateChecksum(String projectKey, String updateKey, String checksum);

	void updateComplete(String projectKey, String updateKey);

	void updateDiff(String projectKey, String updateKey, String diff);

	void updateProjectChecksum(String projectKey, String checksum);

	void upload(String bucketName, String updateKey, String awsAccessKey, String awsSecretKey, File file);

	void uploadingPatchDescription(String projectKey, String updateKey);

	void failure(String projectKey, String updateKey);

	void webapp(String projectKey);

	void webapp(String projectKey, String updateKey);

	void war(String projectKey);

	void war(String projectKey, String updateKey);

	void createProject(String projectKey);

	void deleteUpdates(String projectKey);

}